import Vue from 'vue'
import VueRouter from 'vue-router'
import LoginView from "@/views/loginView/LoginView.vue";
import IndexView from "@/views/indexView/IndexView.vue";
import ThemeInfoView from "@/views/myInfoView/otherInfo/ThemeInfoView.vue";
import AccountView from "@/views/accountView/AccountView.vue";
import MoveTypeView from "@/views/accountView/MoveTypeView.vue";
import DetailUpdateView from "@/views/detailView/DetailUpdateView.vue";

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'login',
        component: LoginView
    }, {
        path: '/index',
        name: 'index',
        component: IndexView
    }, {
        path: '/account',
        name: 'account',
        component: AccountView,
        meta: {transition: 'slide-left'},
    }, {
        path: '/themeInfo',
        name: 'themeInfo',
        component: ThemeInfoView
    }, {
        path: '/moveType',
        name: 'moveType',
        component: MoveTypeView
    }, {
        path: '/detailUpdate',
        name: 'detailUpdate',
        component: DetailUpdateView
    }
]

const router = new VueRouter({
    routes
})


export default router
